<!--
#    Copyright 2011 Tri-County Electric Cooperative, St. Matthews, South Carolina
#    This file is part of COOPGIS.
#    COOPGIS is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#    COOPGIS is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#    You should have received a copy of the GNU General Public License
#    along with COOPGIS.  If not, see <http://www.gnu.org/licenses/>.
**************************************************************************-->

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    {{OpenLayersJavaScriptHeading|safe}}
    <title>COOPGIS Landmark Polygon Editor</title>
    <style type="text/css">
        #map {
            width: 750px;
            height: 600px;
            border: 1px solid black;
        }
    </style>
  </head>
  <body>
<b>{{LoginStatus}}</b>   &nbsp&nbsp&nbsp&nbsp <small><a href="/coopgis/">Main Menu</a></small><br>
<form method="post" action="">
<table>
<tr>
<td><div id="map">{{OpenLayersJavaScript|safe}}</div></td>
<td>
<table>
  <tr><td>Map:  {{form.Map}}</td><td>&nbsp</td></tr>
  <tr>
    <td colspan = "3">{{form.Polygon}}</td>
  </tr>
  <tr>
    <td>
      <table>
        <tr>
          <td colspan= "5"><b>Edit Landmarks</b></td>
        </tr>
        <tr>
          <td>New:&nbsp{{form.NewLandmarkIndicator}}</td>
          <td>Update:&nbsp{{form.UpdateLandmarkIndicator}}</td>
          <td>Delete:&nbsp{{form.DeleteLandmarkIndicator}}</td>
        </tr>
        <tr>
          <td colspan= "3">Landmark ID:{{form.Landmarkid}}</td>
          <td>Landmark's LandmarkType:&nbsp{{form.LandmarkLandmarkTypeSelection}}</td>
        </tr>
        <tr>
          <td colspan= "3">Name:{{form.LandmarkName}}</td>
          <td colspan= "2">Description:{{form.LandmarkDescription}}</td>
        </tr>
        <tr>
          <td colspan="5" align="right"><input type="submit" /></td>
        </tr>
      </table>
    </td>
  </tr>
 <tr>
    <td>
      <table>
        <tr>
          <td colspan= "5"><b>Edit Types</b></td>
        </tr>
        <tr>
          <td>New:&nbsp{{form.NewTypeIndicator}}</td>
          <td>Update:&nbsp{{form.UpdateTypeIndicator}}&nbsp&nbsp&nbsp</td>
          <td>Delete:&nbsp{{form.DeleteTypeIndicator}}&nbsp&nbsp&nbsp</td>
          <td>Landmark Type Selection:&nbsp{{form.LandmarkTypeSelection}}</td>
          <td>Type ID:&nbsp{{form.Typeid}}</td>
        </tr>
        <tr>
          <td colspan= "2">Name:&nbsp{{form.TypeName}}</td>
          <td colspan= "3">Description:&nbsp{{form.TypeDescription}}</td>
          <td colspan= "3">WKT:&nbsp{{form.WKTPolygon}}</td>
        </tr>
      </table>
    </td>
  </tr>

</table>
</td>
</tr>
</table>

</form>
<br>
</body>
</html>

